/*
    Watchpost - A file monitor program for the GNOME desktop
    Copyright (C) 2006 Andrew Resch

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/

#ifndef WATCHPOST_H
#define WATCHPOST_H

#include <time.h>
#include <gtk/gtk.h>
#include <glade/glade.h>
#include <libgnomevfs/gnome-vfs.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gnome.h>

#define ICON_SIZE	16

/* Helper function prototypes */
void watchpost_toggle_visibility();
GdkPixbuf *get_file_icon(const gchar *file);
gchar *shrink_path_with_tilde(gchar *path);
char *watchpost_get_local_path_from_uri(const char *uri);
gboolean _gnome_vfs_istr_has_prefix (const char *haystack, const char *needle);

/* Globals */
GnomeProgram *watchpost_gnome;
GdkWindowState mainWindowState;
GHashTable *monitor_list_hash_table;

#endif
